package com.esa.test;

import java.io.File;
import java.io.IOException;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.List;

import org.xml.sax.SAXException;

import com.esa.dbi.impl.CourseDBImpl;
import com.esa.javabean.Course;
import com.esa.tois.TransCourse;

public class tesMain {
	public static void main(String args[]) throws UnknownHostException, IOException, SAXException{
	//ConnectToIS ctis=new ConnectToIS();
	TransCourse tc=new TransCourse();
	List<Course> list=new ArrayList<Course>();
	CourseDBImpl cdbi=new CourseDBImpl();
	Course c=cdbi.getCourseByCno("002");
	list.add(c);
	
	tc.trans(list);
	/*File file=new File("E:\\WorkAndStudy\\Work\\SoftInstalPath\\Myeclipse85_Workplace\\ES_A" +
			"\\src\\com\\esa\\test\\s2.xml");
	ctis.transmitXML(file);*/
}
}